package com.wuxin.ssm.service;


import com.wuxin.ssm.entity.Carshop;
import com.wuxin.ssm.entity.Xmorder;

import java.util.List;

/**
 * @program: ssmwork
 * @ClassName XmorderService
 * @description:
 * @author: 李尧坤
 * @create: 2024−12-20 20:41
 * @Version 1.0
 **/

public interface XmorderService {
    /**
     * 添加订单
     * @param xmorder
     * @param pids
     * @param carshopList
     * @return
     */
    public int save(Xmorder xmorder, String[] pids, List<Carshop> carshopList);



    /**
     * 查看订单
     *
     * @param uid
     * @return
     */
    public List<Xmorder> selectOrder(Integer uid);
}

